package com.ruoyi.work.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 工单详情对象 t_work_bill_detail
 *
 * @author xwj
 * @date 2024-08-19
 */
@TableName("t_work_bill_detail")
@Data
public class WorkBillDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 工单id
     */
    @Excel(name = "工单id")
    @ApiModelProperty("工单id")
    private Long billId;

    private Long orderId;
    @TableField(exist = false)
    private String orderName;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    @ApiModelProperty("产品id")
    private Long productId;

    @TableField(exist = false)
    private String productName;

    /**
     * 工序id
     */
    @Excel(name = "工序id")
    @ApiModelProperty("工序id")
    private Long progressId;

    /**
     * 员工id
     */
    @Excel(name = "员工id")
    @ApiModelProperty("员工id")
    private Long staffId;

    @TableField(exist = false)
    private String staffName;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private Double passNum;

    /**
     * 创建人id
     */
    @Excel(name = "创建人id")
    @ApiModelProperty("创建人id")
    private Long createId;
    private Date createTime;
    private String createBy;

    /**
     * 更新人id
     */
    @Excel(name = "更新人id")
    @ApiModelProperty("更新人id")
    private Long updateId;
    private Date updateTime;
    private String updateBy;

}
